<!DOCTYPE html>
<meta charset="utf-8">
<title>Test Sample API when trial is disabled (no token), in insecure context</title>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script src="../resources/get-host-info.js"></script>
<script src="resources/origintrials.js"></script>
<script>

if (window.location.origin != get_host_info().UNAUTHENTICATED_ORIGIN) {
  window.location = get_host_info().UNAUTHENTICATED_ORIGIN +
                    window.location.pathname;
} else {
  // The trial is not enabled, as no token is provided.
  expect_failure_bindings_insecure_context();
}
</script>
